<?php
/**
 * Created by PhpStorm.
 * User: yuyiwen
 * Date: 2018/9/5
 * Time: 下午2:09
 */

namespace app\admin\controller;


use think\Db;

class other
{
    public function chart ()
    {
        return view();
    }

    public function calendar ()
    {
        return view();
    }

    public function test () {


        $data = ['username'=> 'test2'];

        Db::connect($db2)->name('admin')->insert($data);

    }
}